<?php
/**
 * 功能描述：各种数据库的标准接口类
 */
// if(!defined('IN_SERVER'))
// {
// 	exit('invalid request');
// }

class DatabaseHandler
{
	var $ServerHost;
	var $ServerPort;
	var $SQL_Store;
	
	function DatabaseHandler($server_host, $server_port)
	{
		$this->ServerHost = $server_host;
		$this->ServerPort = $server_port;
		$this->SQL_Store = array();
	}

	function GetQueryCount()
	{
		return sizeof($this->SQL_Store);
	}

	function SetSqlStore($sql)
	{
		$this->SQL_Store[] = $sql;
	}
}

?>